package liczbe;

import static org.junit.Assert.*;

import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;

public class zmianaTest {
	
	zmiana g = null;

	@Before
	public void testAA() throws Exception {
		zmiana g = new zmiana();
		assertNotNull("Nie Null ?", g.r);
	}
	@Test(timeout = 1)
	public void testA() throws Exception {
		String w = g.konwersja(10, 2);
		assertEquals("1010", w);
	}
	@Test
	public void testKonwersja() throws Exception {
		String w = g.konwersja(8, 2);
		assertEquals("1000", w);
	}
	
	@Ignore
	public void testC() throws Exception {
		String w = g.konwersja(8, 2);
		assertEquals("1000", w);
	}
	@After
	public void testAAA() throws Exception {
		g = null;
	}
}
